package com.qcby.dao;

import com.qcby.entity.Message;
import com.qcby.entity.Student;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface MessageDao {
    List<Message> findAllMessage();

    List<Message> findSystemAllMessage();

    void addMessage(Message message);

    List<Message> findAIMessages(Message checkMsg);

    List<Message> findSingleMessage(Message checkMsg);

    List<Message> findMessageByStudentName(Student student);

    List<Message> SearchMessage(String name);

    List<Message> SearchMessageToStudent(String name);

}
